package geppetto.phraseHMM.phraseExtraction.extractedphrase.data;

import geppetto.phraseHMM.phraseExtraction.extractedphrase.ExtractedPhrasePair;
import geppetto.phraseHMM.phraseExtraction.extractedphrase.ExtractedPhrasePairData;
import geppetto.phraseHMM.phraseExtraction.extractedphrase.ExtractedPhrasePairDataCalc;

public class ExtractedSentenceDataCalc implements ExtractedPhrasePairDataCalc{

	@Override
	public ExtractedPhrasePairData calcData(ExtractedPhrasePair epp) {
		return new ExtractedSentenceData(epp.getSentenceNumber(), 1.0d);
	}

	@Override
	public ExtractedPhrasePairData loadFromString(String s) {
		return ExtractedSentenceData.parseString(s);
	}

}
